Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
run_tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
include: | |
- python: "3.10" | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
environment-file: .github/test_conda_env.yml | |
- name: print conda environment info | |
run: | | |
conda info -a | |
conda list | |
- name: install package | |
run: | | |
pip install -v --no-deps . | |
- name: run test | |
run: | | |
mkdir empty; cd empty | |
python -c 'import pygtide; pygtide.test()' | |
python -c 'import pygtide; pygtide.update()' | |
python -c 'import pygtide; pygtide.test()' |