Skip to content

Bump actions/setup-python from 4 to 5 #22

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #22

Workflow file for this run

# This workflow will install Python dependencies and run tests
name: unit-test
on: [push]
jobs:
unit_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9]
os: ["ubuntu-latest", "macos-latest"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Unit test
env:
FTP_DB_DIR: ${{ secrets.FTP_DB_DIR }}
HITRAN_API_KEY: ${{ secrets.HITRAN_API_KEY }}
run: |
cd tests
pytest